﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" import="java.sql.*" %>
<jsp:useBean id="connDbBean" scope="page" class="com.util.db"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script type="text/javascript" src="js/popup.js"></script>
<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js" charset="gb2312"></script>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<TITLE>修改用户信息</TITLE>
	    
<script type="text/javascript" src="ny/js/jquery.min.js"></script>
<script type="text/javascript" src="ny/js/bootstrap.min.js"></script>
<script src="ny/js/jconfirm/jquery-confirm.min.js"></script>
<link href="ny/css/bootstrap.min.css" rel="stylesheet">
<link href="ny/css/materialdesignicons.min.css" rel="stylesheet">
<link href="ny/css/style.min.css" rel="stylesheet">
<link rel="stylesheet" href="ny/js/jconfirm/jquery-confirm.min.css">
	</head>
	<body>
	<div class="card-header"><h4>修改个人资料</h4></div>
              <div class="card-body">
                <form class="form-horizontal" action="updateYonghuxinxi2.do" method="post" enctype="multipart/form-data" id="form1" name="form1" onSubmit="return checkform();"><input type="hidden" name="id" value="${yonghuxinxi.id}" />
                 <div class='form-group' styxlexulxie1><label class='col-md-3 control-label'>用户名</label><div class='col-md-7'><input type='text' readonly="readonly" class='form-control' value='' name='yonghuming' id='yonghuming' style='width:45%' placeholder='请输入用户名' /></div></div>
		<div class='form-group' styxlexulxie2><label class='col-md-3 control-label'>密码</label><div class='col-md-7'><input type='text' class='form-control' value='' name='mima' id='mima' style='width:45%' placeholder='请输入密码' /></div></div>
		<div class='form-group' styxlexulxie3><label class='col-md-3 control-label'>姓名</label><div class='col-md-7'><input type='text' class='form-control' value='' name='xingming' id='xingming' style='width:45%' placeholder='请输入姓名' /></div></div>
		<div class='form-group' styxlexulxie4><label class='col-md-3 control-label'>性别</label><div class='col-md-7'><select class='form-control' name='xingbie' id='xingbie' style='width:45%'><option value="男">男</option><option value="女">女</option></select></div></div>
		 
		<div class='form-group' styxlexulxie6><label class='col-md-3 control-label'>手机</label><div class='col-md-7'><input type='text' class='form-control' value='' name='shouji' id='shouji' style='width:45%' placeholder='请输入手机' /></div></div>
		<div class='form-group' styxlexulxie7><label class='col-md-3 control-label'>地址</label><div class='col-md-7'><input type='text' class='form-control' value='' name='dizhi' id='dizhi' style='width:45%' placeholder='请输入地址' /></div></div>
		 
		<div class='form-group' styxlexulxie9><label class='col-md-3 control-label'>头像</label><div class='col-md-7'><input name='touxiangfile' type='file' id='touxiangfile' class="form-control" /><img src='${yonghuxinxi.touxiang}' style="cursor:pointer; "  width=164 height=184 border=0 /></div></div>
		<div class='form-group' styxlexulxie10><label class='col-md-3 control-label'>简介</label><div class='col-md-7'><textarea id='jianjie' placeholder='' name='jianjie' class='form-control'  style='width:75%'></textarea></div></div>
		
				 <div class="form-group">
                    <div class="col-md-9 col-md-offset-3">
                      <button class="btn btn-primary" type="submit" onClick="return checkform();"><i class="mdi mdi-check"></i> 修改</button>
                    </div>
                  </div>
				  <script language="javascript">document.form1.yonghuming.value='${yonghuxinxi.yonghuming}';</script>
	<script language="javascript">document.form1.mima.value='${yonghuxinxi.mima}';</script>
	<script language="javascript">document.form1.xingming.value='${yonghuxinxi.xingming}';</script>
	<script language="javascript">document.form1.xingbie.value='${yonghuxinxi.xingbie}';</script> 
	<script language="javascript">document.form1.shouji.value='${yonghuxinxi.shouji}';</script>
	<script language="javascript">document.form1.dizhi.value='${yonghuxinxi.dizhi}';</script>
	<script language="javascript">document.form1.issh.value='${yonghuxinxi.issh}';</script>
	<script language="javascript">document.form1.touxiang.value='${yonghuxinxi.touxiang}';</script>
	<script language="javascript">document.form1.jianjie.value='${yonghuxinxi.jianjie}';</script>
	
                </form>
              </div>
            </div>
   </body>
</html>

<!--hssgchesck-->
